//
//  DTDeviceAlert.h
//  PersonalManager
//
//  Created by user on 16/8/1.
//  Copyright © 2016年 Haiyun.Qian. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DTJavascriptCommand.h"
@interface DTDeviceAlert : NSObject
@property (nonatomic,strong) NSString *tittle;
@property (nonatomic,strong) NSString *message;
@property (nonatomic,strong) NSString *cancleTitle;
@property (nonatomic,strong) NSString *confiremTittle;

@property (nonatomic,strong) NSArray *buttonLabels;
@property (nonatomic,strong) UITextField  *textFieldInput;
@property (nonatomic) int  status;


@property (nonatomic,strong) DTJavascriptCommand *command;
@property (nonatomic,strong) UIWebView *webView;
@property (nonatomic,strong) UIViewController    *controller;
@property (nonatomic,strong) id actionObject;
@property (nonatomic,strong) UIAlertView *alertView;
@property (nonatomic,strong) UIActivityIndicatorView *preLoadView;

-(instancetype)init: (DTJavascriptCommand *)commond2;

//-(void) alert;

-(void) confirm;

-(void) show ;

-(void) vibrate;

-(void) prompt;

-(void) showPreloader;

-(void) hidePreloader;


@end
